#include "choose_2.h"
#include "ui_choose_2.h"
#include "mainwindow.h"
#include "beginning.h"
#include "friends.h"

choose_2::choose_2(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::choose_2)
{
    ui->setupUi(this);
}

choose_2::~choose_2()
{
    delete ui;
}

void choose_2::on_pushButton_clicked()
{
    this->close();
    friends *fri=new friends();
    fri->show();
}


void choose_2::on_pushButton_18_clicked()
{
    this->close();
    beginning *begin=new beginning();
    begin->show();
}